﻿using Microsoft.SqlServer.Dts.Runtime.Wrapper;

namespace DatabaseGroup.SSIS.SourceAdapters
{
    /// <summary>
    /// Simple config class for holding an outputs
    /// auditing configuration
    /// </summary>
    public class AuditingConfiguration
    {
        /// <summary>
        /// Gets or sets if standard auditing columns should be supported
        /// </summary>
        public bool HasAuditing { get; set; }

        /// <summary>
        /// Gets or sets if the verbose validation messages should be included
        /// </summary>
        public bool IncludeValidationMessages { get; set; }

        /// <summary>
        /// Gets or sets if source data relating to the audit 
        /// event should be included
        /// </summary>
        public bool IncludeSourceData { get; set; }

        /// <summary>
        /// Gets or sets the source DataType for the source data
        /// </summary>
        public DataType SourceDataType { get; set; }

        /// <summary>
        /// Gets or sets the maximum size of the source data
        /// </summary>
        public int SourceDataSize { get; set; }
    }
}
